package com.langcollab.languagementor.constant
{
	import flash.filesystem.File;

	public class Constant_Misc
	{
		// Effect Values
        public static const EFFECT__SLIDE_TRANSITION_DURATION:int = 300;
        public static const EFFECT__ZOOM_TRANSITION_DURATION:int = 1000;
		
		// Chunklet Type Tokens
		public static const LEAF_TYPE_AUDIO_NATIVE:String   = "leafTypeAudioNative";
		public static const LEAF_TYPE_AUDIO_TARGET:String   = "leafTypeAudioTarget";
		public static const LEAF_TYPE_PAUSE_ATTEMPT:String  = "leafTypePauseAttempt";
		public static const LEAF_TYPE_PAUSE_REPEAT:String   = "leafTypePauseRepeat";
		public static const LEAF_TYPE_PAUSE_TINY:String     = "leafTypePauseTiny";
		public static const LEAF_TYPE_PLAYBACK:String       = "leafTypePlayback";
		
		// Download Process Tokens
		public static const DOWNLOADPROCESS_DOWNLOAD_FILE_EXTENSION:String = "zip";
		
		// File Name And Path Tokens
		public static const FILEPATHINFO_CHUNK_FILE_EXTENSION:String                      = "mp3";
		public static const FILEPATHINFO_CHUNK_FILE_LANGUAGE_CODE_LENGTH:int              = 3;
		public static const FILEPATHINFO_DB_FILE_FILE_NAME:String                         = "langcollabLocalDB.db";
		public static const FILEPATHINFO_DB_FOLDER_NAME:String                            = "database";
		public static const FILEPATHINFO_DB_TEMPLATE_FILE_NAME:String                     = "langcollabLocalDBTemplate.db";
		public static const FILEPATHINFO_DB_TEMPLATE_FOLDER_NAME:String                   = "db";
		public static const FILEPATHINFO_DOWNLOAD_PERMISSION_FILE_NAME:String             = "langcollab_download_permission.xml";
		public static const FILEPATHINFO_DOWNLOADED_MODULES_FOLDER_NAME:String            = "modules";
		public static const FILEPATHINFO_DOWNLOADS_CONTENT_PROVIDER_XML_FILE_NAME:String  = "content_provider";
		public static const FILEPATHINFO_DOWNLOADS_MODULE_XML_FILE_NAME:String            = "module";
		public static const FILEPATHINFO_LANGUAGE_RESOURCE_FOLDER_NAME:String             = "xml" + File.separator + "languageResource";
		public static const FILEPATHINFO_MODULE_FOLDER_NAME:String                        = "modules";
		
		// Language Tokens
		public static const TOKEN_NATIVE_LANGUAGE_NAME:String     = "%native_language_name%";
		public static const TOKEN_NATIVE_LANGUAGE_EXAMPLE:String  = "%native_language_example%";
		public static const TOKEN_TARGET_LANGUAGE_NAME:String     = "%target_language_name%";
		public static const TOKEN_TARGET_LANGUAGE_EXAMPLE:String  = "%target_language_example%";
		
		// Misc
		public static const APP_NAME:String                              = "Language Mentor";
		public static const AUDIO_MAX_VOLUME:Number                      = .95;
		public static const MAX_ALLOWED_CHUNKS_PER_MODULE_VERSION:int    = 333;

		public function Constant_Misc()
		{
		}
	}
}